#region Copyright RenGuiYou. All rights reserved.
//=====================================================
// PandoraFrameWork
// Author:      RenGuiyou
// Feedback: 	mailto:750539605@qq.com
//=====================================================
#endregion
using UnityEngine;

namespace PandoraEditor.Window
{
    public class PreferencesWindow : ConfigWindowBase
    {
        public static void CreateWindow()
        {
            UserSetting.Clear();
            BuildSetting.Clear();
            var instance = GetWindow<PreferencesWindow>(true, "Pandora Preferences");
            instance.minSize = new Vector2(600f, 400f);
            instance.Show();
        }

        protected override void Register()
        {
            RegisterCategory<UIConfigCategory>();
            RegisterCategory<CompileConfigCategory>();
            RegisterCategory<ProtocolCategory>();
            RegisterCategory<CheckConfigCategory>();
            RegisterCategory<VersionConfigCategory>();
            RegisterCategory<AccountConfigCategory>();
        }
    }
}